import request from '@/utils/request'

export default { 
  getColl (params) {
    return request({
      url: '/coll/getAllColl',
      method: 'get',
      params: params
    })
  },
  deleteColl (params) {
    return request({
      url: '/coll/deleteColl',
      method: 'get',
      params: params
    })
  },
  addColl (data) {
    return request({
      url: '/coll/addColl',
      method: 'post',
      data: data
    })
  },
  updateColl (data) {
    return request({
      url: '/coll/updateColl',
      method: 'post',
      data: data
    })
  }
}
